<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Builder;

class ClientUserIntegralType extends CommonModel {
	protected $table = 'client_user_integral_type';
	
	public static function boot()
	{
		parent::boot();
		
		static::addGlobalScope('status',function(Builder $builder){
			$builder->where('status','=',1);
		});
	}
}